
//
//  CoursePlanModel.m
//  ShowYork
//
//  Created by hxh on 2020/8/31.
//  Copyright © 2020 hxh. All rights reserved.
//

#import "LessonPlanModel.h"

@implementation LessonPlanModel
- (NSNumber *)subResultId{
    if (self.subjectId.intValue == 2 ||
        self.subjectId.intValue == 5 ||
        self.subjectId.intValue == 8) {
        return @1;
    }
    if (self.subjectId.intValue == 3 ||
        self.subjectId.intValue == 6 ||
        self.subjectId.intValue == 9 ) {
        return @2;
    }
    if (self.subjectId.intValue == 4 ||
        self.subjectId.intValue == 7 ||
        self.subjectId.intValue == 10) {
        return @3;
    }
    return @0;
}
@end
